axios.defaults.baseURL = 'https://hmajax.itheima.net'

const showToast = msg => {
    const mytoast = document.querySelector('.my-toast')
    const toastObj = new bootstrap.Toast(mytoast)
    document.querySelector('.toast-body').innerHTML = msg
    toastObj.show()
}

